package com.ruoyi.wareManagement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报废库存查询对象 scrap_inventory_inquiry
 * 
 * @author admin
 * @date 2024-06-28
 */
public class ScrapInventoryInquiry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报废库存查询id */
    private Long scrapId;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String materialCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialName;

    /** 库位编号 */
    @Excel(name = "库位编号")
    private String materialNumber;

    /** 库区编号 */
    @Excel(name = "库区编号")
    private String reservoirNumber;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String warehouseNumber;

    /** 批次 */
    @Excel(name = "批次")
    private String batchNumber;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long nventoryQuantity;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    public void setScrapId(Long scrapId) 
    {
        this.scrapId = scrapId;
    }

    public Long getScrapId() 
    {
        return scrapId;
    }
    public void setMaterialCode(String materialCode) 
    {
        this.materialCode = materialCode;
    }

    public String getMaterialCode() 
    {
        return materialCode;
    }
    public void setMaterialName(String materialName) 
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }
    public void setMaterialNumber(String materialNumber) 
    {
        this.materialNumber = materialNumber;
    }

    public String getMaterialNumber() 
    {
        return materialNumber;
    }
    public void setReservoirNumber(String reservoirNumber) 
    {
        this.reservoirNumber = reservoirNumber;
    }

    public String getReservoirNumber() 
    {
        return reservoirNumber;
    }
    public void setWarehouseNumber(String warehouseNumber) 
    {
        this.warehouseNumber = warehouseNumber;
    }

    public String getWarehouseNumber() 
    {
        return warehouseNumber;
    }
    public void setBatchNumber(String batchNumber) 
    {
        this.batchNumber = batchNumber;
    }

    public String getBatchNumber() 
    {
        return batchNumber;
    }
    public void setNventoryQuantity(Long nventoryQuantity) 
    {
        this.nventoryQuantity = nventoryQuantity;
    }

    public Long getNventoryQuantity() 
    {
        return nventoryQuantity;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scrapId", getScrapId())
            .append("materialCode", getMaterialCode())
            .append("materialName", getMaterialName())
            .append("materialNumber", getMaterialNumber())
            .append("reservoirNumber", getReservoirNumber())
            .append("warehouseNumber", getWarehouseNumber())
            .append("batchNumber", getBatchNumber())
            .append("nventoryQuantity", getNventoryQuantity())
            .append("unit", getUnit())
            .toString();
    }
}
